{extend name="index:public" /}
{block name="style"}
<link href="__INDEX__/skr/Public/web/css/normalize.css" rel="stylesheet" />
<link href="__INDEX__/skr/Public/web/css/base.css" rel="stylesheet" />
<link href="__INDEX__/skr/Public/web/css/font.css" rel="stylesheet" />
<!-- page CSS -->
<link href="__INDEX__/skr/Public/web/css/style.css" rel="stylesheet" />
<link href="__INDEX__/skr/Public/web/css/other.css" rel="stylesheet" />
<link href="__INDEX__/skr/Public/widgets/responsive/responsive.css" rel="stylesheet" />
{/block}
{block name="main"}

 <div class="nbanner"><div class="ghost-center"><p><span class="size1">{$cateinfo['catename']}</span><span class="size2">{$cateinfo['other']}</span></p></div></div>
  <!-- 页面 -->
  <section class="sect_inner sect_news">

    <!-- 正文 -->
    <div class="wrap index_">

      {notempty name="list"}
          {foreach $list as $v}
            <div class="news-box">
              <div class="row">
                <div class="span-2 midd-3 smal-hide">
                  <div class="pic widget-respimg js-respimg" data-ratiow="265" data-ratioh="172"><img src="__INDEX__/skr/Public/web/img/base/loading.gif" data-echo="{$v['thumb']}" alt=""></div>
                </div>
                <div class="span-8 midd-9 smal-12 news_cont">
                  <h5 class="f-toe"><a href="{:url('content',array('cateid'=>input('cateid'),'newsid'=>$v['newsid']))}" target="_self" title="{$v['title']}">{$v['title']}</a></h5>
                  <p class="smal-hide f-toe">{$v['abstract']}</p>
                  <a href="{:url('content',array('cateid'=>$v['cateid']),'html',true)}" target="_self" title="{$v['title']}" class="more smal-hide">+查看全文</a>
                </div>
                <div class="span-2 midd-hide smal-12 smal-show news_time">
                  <p class="date"><i>{:substr($v['addtime'],8,2)}</i> {:substr($v['addtime'],0,7)}</p>
                </div>
              </div>
            </div>
          {/foreach} 
          <div class="page"> {$page['count']} 条记录 {:input('p',1)}/{$page['num']} 页          
            <select name="" id="page_num1"  onchange="location=('/index.php/index/index/cate/cateid/{:input('cateid')}/p/'+$(this).val())">
              {for start="1" end="$page['num']+1"}
              <option value='{$i}' {if condition="input('p',1) eq $i" }selected{/if} >{$i}</option>
              {/for}
            </select>
          </div>
      {else/}
          <br/><br/>
          <center>暂无内容</center>
          <br/><br/>
      {/notempty}


    </div>
  </section>
{/block}